package com.cade.agriculturemall.model;

import com.avos.avoscloud.AVClassName;
import com.avos.avoscloud.AVObject;
import com.avos.avoscloud.AVUser;

/**
 *      用户收藏
 * Created by Lobby on 2017/12/12.
 */

@AVClassName("ItemFavourite")
public class ItemFavouriteEntity extends AVObject {
//    private String proId;
//    private String userId;
//    private boolean isDelete;
//    private Integer proStatus;

    public GoodsDetailEntity getProId() {
        return (GoodsDetailEntity) get("pro_Id");
    }

    public void setProId(GoodsDetailEntity proId) {
        put("pro_Id", proId);

    }

    public String getUserId() {
        return getString("user_Id");
    }

    public void setUserId(String userId) {
        put("user_Id", userId);
    }

    public boolean isDelete() {
        return getBoolean("is_delete");
    }

    public void setDelete(boolean delete) {
        put("is_delete", delete);
    }

    public AVUser getProStatus() {
        return getAVUser("pro_status");
    }

    public void setProStatus(Integer proStatus) {
        put("pro_status" , proStatus);
    }
}
